package com.ywx.yypicturebackend;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;

@SpringBootApplication
@EnableAsync  //开启方法异步调用
@MapperScan("com.ywx.yypicturebackend.mapper")
@EnableAspectJAutoProxy(proxyTargetClass = true)//将代理类暴露出来
public class YyPictureBackendApplication {

    public static void main(String[] args) {
        SpringApplication.run(YyPictureBackendApplication.class, args);
    }

}
